#!/usr/bin/env python3
# -*- coding:utf-8 -*-
# @Time: 2019/6/12  17:59
# @Author: 余浪人
# @email: yulangren520@gmail.com


from apps.models import BaseModel, db


class AdCooperation_Model(BaseModel):
    content = db.Column(db.Text,default=' ', comment='广告合作内容')

    def __repr__(self):
        return f'广告合作:<{self.content}>'

    def keys(self):
        return 'content', 'status'


class Contribute_Model(BaseModel):
    content = db.Column(db.Text,default=' ', comment='投稿说明内容')

    def __repr__(self):
        return f'投稿说明内容:<{self.content}>'

    def keys(self):
        return 'content', 'status'


class Feedback_Model(BaseModel):
    content = db.Column(db.Text,default=' ', comment='留言反馈内容')

    def __repr__(self):
        return f'留言反馈内容:<{self.content}>'

    def keys(self):
        return 'content', 'status',


class Infringement_Model(BaseModel):
    content = db.Column(db.Text,default=' ', comment='侵权内容')

    def __repr__(self):
        return f'侵权:<{self.content}>'

    def keys(self):
        return 'content', 'status',
